package icexam.exam.print;


/**
 *
 * @author ex
 */
public class Test {

    public static void main(String[] ars){
        try {
//            logger.info("Start preview report.");
            String[][] titles = new String[3][6];
            String[][] objs = new String[50][6];
            titles[0][0] = "字号名：本草纲目   负责人 ： 李时珍";
            titles[0][1] = "身份证：429006198208155118";
            titles[0][2] = "成绩：85";

            titles[1][0] = "题号";
            titles[1][1] = "试题";
            titles[1][2] = "";
            titles[1][3] = "";
            titles[1][4] = "您的选择";
            titles[1][5] = "正确答案";
            System.out.println(objs.length);
            for(int i=0;i<objs.length;i++){

                objs[i][0] = String.valueOf(i+1);
                objs[i][1] = "国务院质量监督、工商行政管理和国家食品药品监督管理部门依照本法和国务院规定的职责，分别对食品生产、______、餐饮服务活动实施监督管理。";
                objs[i][2] = "A:食品流通";
                objs[i][3] = "B:食品经营";
                objs[i][4] = "A";
                objs[i][5] = "B";
            }

            ReportViewAction.action(titles, objs,1);

        } catch (Exception ex) {
            ex.printStackTrace();
        }
    }
}
